package org.hi.tripmodel.service.impl;

import java.util.List;

import org.hi.framework.paging.PageInfo;
import org.hi.tripmodel.model.TripTheme;
import org.hi.framework.service.impl.ManagerImpl;
import org.hi.tripmodel.service.TripThemeManager;

public class TripThemeManagerImpl extends ManagerImpl implements TripThemeManager{
    
    protected void preSaveObject(Object obj) {
        super.preSaveObject(obj);

    }

    protected void postSaveObject(Object obj) {
        super.postSaveObject(obj);

    }

    protected void preRemoveObject(Object obj) {
        super.preRemoveObject(obj);
        
    }

    protected void postRemoveObject(Object obj) {
        super.postRemoveObject(obj);
        
    }
    
    public void saveTripTheme(TripTheme tripTheme){
    	saveObject(tripTheme);
    
    }

    public void removeTripThemeById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripTheme getTripThemeById(Integer id){
   		return (TripTheme) getObjectById(id);
    }

    public List<TripTheme> getTripThemeList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }

    public void saveSecurityTripTheme(TripTheme tripTheme){
    	saveObject(tripTheme);
    
    }

    public void removeSecurityTripThemeById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripTheme getSecurityTripThemeById(Integer id){
   		return (TripTheme) getObjectById(id);
    }

    public List<TripTheme> getSecurityTripThemeList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }    
}
